<template>
  <div>
    <ul>
      <li class="ListItem"
          v-for="item in cateList"
          :key="item.id">
        {{item.title}}
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'DivBox',
  props: ['cateList'],
}
</script>

<style scoped>
.ListItem {
  width: 100px;
  height: 20px;
  /* border: 1px solid #ccc; */
  margin-top: 10px;
}
</style>